#pragma once

#include "../umlmodel_global.h"

#include "UMLStructureDiagram.h"

namespace uml {

/// <summary>
/// UMLClassDiagram
/// See Annex A.
/// </summary>
class UMLMODEL_EXPORT UMLClassDiagram : public UMLStructureDiagram {

public: // Constructors and destructors
    explicit UMLClassDiagram(const QString& umlType="uml::UMLClassDiagram");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
